package com.eat.fish_service.entity.Dao;

import com.baomidou.mybatisplus.annotation.FieldFill;
import com.baomidou.mybatisplus.annotation.IdType;
import java.util.Date;

import com.baomidou.mybatisplus.annotation.TableField;
import com.baomidou.mybatisplus.annotation.TableId;
import java.io.Serializable;
import io.swagger.annotations.ApiModel;
import io.swagger.annotations.ApiModelProperty;
import lombok.Data;
import lombok.EqualsAndHashCode;

/**
 * <p>
 * 
 * </p>
 *
 * @author CZF
 * @since 2022-04-11
 */
@Data
@EqualsAndHashCode(callSuper = false)
@ApiModel(value="SensorData对象，表示传感器数据", description="")
public class SensorData implements Serializable {

    private static final long serialVersionUID = 1L;

    @ApiModelProperty(value = "雪花自增id")
    @TableId(value = "data_id", type = IdType.ASSIGN_ID)
    private String dataId;

    @ApiModelProperty(value = "所属鱼缸id")
    private Long aId;

    @ApiModelProperty(value = "ph值")
    private String value1;

    @ApiModelProperty(value = "温度")
    private String value2;

    @ApiModelProperty(value = "电导率")
    private String value3;

    @ApiModelProperty(value = "浑浊度")
    private String value4;

    @ApiModelProperty(value = "溶解氧")
    private String value5;

    @ApiModelProperty(value = "创建时间")
    @TableField(fill = FieldFill.INSERT)
    private Date gmtCreate;


}
